package com.qqtech.qquan.order.model;


import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class OrderDelivery extends BaseDomain{

	//columns START
    /** 对应订单号 */
	private java.lang.String orderNo;
    /** 发退货类型:1-卖家发货;2-买家退货;3-卖家前往服务;4-买家自提 */
	private java.lang.Integer type;
    /** 快递或物流公司名称 */
	private java.lang.String deliveryName;
    /** 快递或物流单号 */
	private java.lang.String deliveryNo;
    /** 收件人 */
	private java.lang.String consignee;
    /** 联系电话 */
	private java.lang.String phone;
    /** 收货地址 */
	private java.lang.String address;
	/** 是否需要物流YesNoEnum:1-需要;2-不需要 */
	private java.lang.Integer hasNeedDelivery;
	/** 配送类型(当type=1且hasNeedDelivery=2):1-商家配送;2-圈圈配送 */
	private java.lang.Integer sendDeliveryType;
	/** 配送费 */
	private BigDecimal freight;
	//columns END
	public OrderDelivery(){
	}

	public OrderDelivery( java.lang.Integer id ){
		this.id = id;
	}

	public void setOrderNo(java.lang.String orderNo) {
		this.orderNo = orderNo;
	}

	public java.lang.String getOrderNo() {
		return this.orderNo;
	}
	
	public void setType(java.lang.Integer type) {
		this.type = type;
	}

	public java.lang.Integer getType() {
		return this.type;
	}
	
	public void setDeliveryName(java.lang.String deliveryName) {
		this.deliveryName = deliveryName;
	}

	public java.lang.String getDeliveryName() {
		return this.deliveryName;
	}
	
	public void setDeliveryNo(java.lang.String deliveryNo) {
		this.deliveryNo = deliveryNo;
	}

	public java.lang.String getDeliveryNo() {
		return this.deliveryNo;
	}
	
	public void setConsignee(java.lang.String consignee) {
		this.consignee = consignee;
	}

	public java.lang.String getConsignee() {
		return this.consignee;
	}
	
	public void setPhone(java.lang.String phone) {
		this.phone = phone;
	}

	public java.lang.String getPhone() {
		return this.phone;
	}
	
	public void setAddress(java.lang.String address) {
		this.address = address;
	}

	public java.lang.String getAddress() {
		return this.address;
	}
	
	public java.lang.Integer getHasNeedDelivery() {
		return hasNeedDelivery;
	}

	public void setHasNeedDelivery(java.lang.Integer hasNeedDelivery) {
		this.hasNeedDelivery = hasNeedDelivery;
	}

	public java.lang.Integer getSendDeliveryType() {
		return sendDeliveryType;
	}

	public void setSendDeliveryType(java.lang.Integer sendDeliveryType) {
		this.sendDeliveryType = sendDeliveryType;
	}

	public BigDecimal getFreight() {
		return freight;
	}

	public void setFreight(BigDecimal freight) {
		this.freight = freight;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

